Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib--notifications

This contribution is part of XML component org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib inside nuxeo-routing-core-2021.48.10.jar /OSGI-INF/document-routing-notification-contrib.xml

Extension Point

Extension point notifications of component NotificationService.

Registration Order

5
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <notification enabled="false" name="Task assigned">
          <event name="workflowTaskAssigned"/>
        </notification>
  • <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task assigned" subject="Task Assigned for ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
          <event name="workflowTaskAssigned"/>
        </notification>
  • <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task reassigned" subject="Task Reassigned on ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
          <event name="workflowTaskReassigned"/>
        </notification>
  • <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task delegated" subject="Task Delegated on ${docTitle}" template="workflowTaskDelegated">
          <event name="workflowTaskDelegated"/>
        </notification>

XML Source

<extension point="notifications" target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService">

    <notification enabled="false" name="Task assigned">
      <event name="workflowTaskAssigned"/>
    </notification>
    <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task assigned" subject="Task Assigned for ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
      <event name="workflowTaskAssigned"/>
    </notification>

   <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task reassigned" subject="Task Reassigned on ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
      <event name="workflowTaskReassigned"/>
    </notification>

   <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task delegated" subject="Task Delegated on ${docTitle}" template="workflowTaskDelegated">
      <event name="workflowTaskDelegated"/>
    </notification>

  </extension>